package cn.wizzer.app.web.commons.utils;

import lombok.Data;

@Data
public class SmsSendResult {
    /**
     * 失败原因描述
     */
    private String statusCode;

    /**
     * 0 - success: 成功
     * 2 - Missing params: 缺少必要参数
     * 4 - Invalid credentials: Key或Secret错误
     * 5 - Unauthorized IP: IP限制
     * 6 - Invalid phone number: 号码格式错误
     * 7 - Invalid sender id: from参数格式错误
     * 8 - Message bombing detected: 3秒内重复请求
     * 9 - Quota exceeded: 欠费或信用额度不足
     * 10 - Throttling error: 超过限速
     * 11 - System error
     */
    private String status;

    private String messageid;
}
